package com.ruoyi.bearing.service;

import com.ruoyi.bearing.domain.BearingModel;
import com.ruoyi.bearing.domain.BearingSignal;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 信号分析
 */
public interface IBearingSignalService {
    /**
     * 信号分析
     */
    public String startBearingSignalAnalysis(MultipartFile file, BearingModel bearingModel) throws IOException, IllegalAccessException;

    /**
     * 查询信号分析结果
     */
    public List<BearingSignal> selectBearingSignal(BearingSignal bearingSignal);

    /**
     * 删除信号分析结果
     */
    public int deleteAnalysisResultByIds(String[] ids);

    /**
     * 下载pdf信号分析结果
     */
    public void downloadAnalysisResult(HttpServletResponse response, BearingSignal bearingSignal);
}
